var Person = require('./person.js').Person;

class Worker extends Person {
    constructor(name, age) {
        super(name, age);
    }

    introduce() {
        return `My name is ${this.name}. I am ${this.age} years old. I am a Worker. I have a job.`;
    }
}

module.exports.Worker = Worker;